package entity;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.OneToOne;

@Entity
public class RedemptionPaymentItemEntity extends PaymentItemEntity implements Serializable {
    private static long serialVersionUID = 1L;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public static void setSerialVersionUID(long aSerialVersionUID) {
        serialVersionUID = aSerialVersionUID;
    }
    
    @OneToOne(mappedBy="redemptionPaymentItem") 
    private RedemptionItemEntity redemptionItem;

    public RedemptionItemEntity getRedemptionItem() {
        return redemptionItem;
    }

    public void setRedemptionItem(RedemptionItemEntity redemptionItem) {
        this.redemptionItem = redemptionItem;
    }

}